<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
-->
</style>
<link href="{<$css_url>}admin/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" height="29" valign="top" background="{<$image_url>}admin/mail_leftbg.gif"><img src="{<$image_url>}admin/left-top-right.gif" width="17" height="29" /></td>
    <td width="935" height="29" valign="top" background="{<$image_url>}admin/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">首页广告</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="{<$image_url>}admin/mail_rightbg.gif"><img src="{<$image_url>}admin/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td height="71" valign="middle" background="{<$image_url>}admin/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="13" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td class="left_txt">当前位置：首页广告</td>
          </tr>
          <tr>
            <td height="20"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
              <tr>
                <td></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="10%" height="55" valign="middle"><img src="{<$image_url>}admin/title.gif" width="54" height="55"></td>
                <td width="90%" valign="top"><span class="left_txt2">在这里，您可以根据您的网站要求，修改设置网站的</span><span class="left_txt3">基本参数</span><span class="left_txt2">！</span><br>
                          <span class="left_txt2">包括</span><span class="left_txt3">网站名称，网址，网站备案号，联系方式，网站公告，关键词，风格</span><span class="left_txt2">等以及网站</span><span class="left_txt3">会员及等级积分设置</span><span class="left_txt2">。 </span></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>
            <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
              <tr>
                <td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;列表&nbsp;&nbsp;【 <a href="/admin_adv/adv_new/">添加首页广告</a> 】</td>
              </tr>
            </table>
            </td>
          </tr>
          <tr>
            <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="left_txt2">
              <tr>
                <td height="30" bgcolor="#f2f2f2">ID</td>
                <td bgcolor="#f2f2f2">标题</td>
                <td bgcolor="#f2f2f2">缩略图</td>
                <td bgcolor="#f2f2f2">链接</td>
                <td bgcolor="#f2f2f2">是否启用</td>
                <td bgcolor="#f2f2f2">操作</td>
              </tr>
			 {<foreach from=$advs item=adv>}
              <tr>
                <td height="30" bgcolor="#f2f2f2">{<$adv.id>}</td>
                <td bgcolor="#f2f2f2">{<$adv.adv_name>}</td>
                <td bgcolor="#f2f2f2"><img src="{<$site_url>}upload/adv/{<$adv.adv_img>}" height="30" /></td>
                <td bgcolor="#f2f2f2">{<$adv.adv_link>}</td>
                <td bgcolor="#f2f2f2">{<$adv.adv_state>}</td>
                <td bgcolor="#f2f2f2">
                {<if $flash.state == 1>}<a href="/admin_adv/adv_disable/{<$adv.id>}/">停用</a>
                {<else>}<a href="/admin_adv/adv_enable/{<$adv.id>}/">启用</a>
                {</if>}| 
                <a href="/admin_adv/adv_edit/{<$adv.id>}/">修改</a> | 
                <a href="/admin_adv/adv_del/{<$adv.id>}/" onclick="return window.confirm('确定删除吗？请三思而后行哦！');">删除</a>
                </td>
              </tr>
             {</foreach>}
            </table>
            </td>
          </tr>
        </table>
        </td>
      </tr>
    </table></td>
    <td background="{<$image_url>}admin/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="{<$image_url>}admin/mail_leftbg.gif"><img src="{<$image_url>}admin/buttom_left2.gif" width="17" height="17" /></td>
      <td height="17" valign="top" background="{<$image_url>}admin/buttom_bgs.gif"><img src="{<$image_url>}admin/buttom_bgs.gif" width="17" height="17" /></td>
    <td background="{<$image_url>}admin/mail_rightbg.gif"><img src="{<$image_url>}admin/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>